﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 安检系统.Model;

namespace 安检系统.ViewModel
{
    public class StandardEditViewmodel : BaseViewModel
    {
        public ObservableCollection<String> _standards = new ObservableCollection<String>();
        public ObservableCollection<Material> _materials = new ObservableCollection<Material>();

        public ObservableCollection<String> standards
        {
            get { return _standards; }
            set
            {
                _standards = value;
                RaisePropertyChanged("standards");
            }
        }
        public ObservableCollection<Material> materials
        {
            get { return _materials; }
            set
            {
                _materials = value;
                RaisePropertyChanged("materials");
            }
        }
        public Record _record;
        public Record record
        {
            get
            {
                return _record;
            }
            set
            {
                _record = value;
                RaisePropertyChanged("record");
            }
        }
    }
}
